
//  RequestUrl.h
//  LazyCat


#ifndef LazyCat_RequestUrl_h
#define LazyCat_RequestUrl_h

//================================================================
                        /** 推送key*/
//================================================================
// AppStore
//#define kAppId           @"0kIvlriyoa5DUkLZDVLW7"
//#define kAppKey          @"DrRMHktxdyAZgdXGdUH487"
//#define kAppSecret       @"ipQUXZtZ2r5lY0e2s9chq3"

// 正式企业版
//#define kAppId           @"5gzwKVqYJS9PGymcKdNUx8"
//#define kAppKey          @"Z8al1TyV9U8idHUSMYnHF4"
//#define kAppSecret       @"ZPZwPiJfYyALhcN23NHDZ"

// 测试版
#define kAppId           @"yzIv0YGotB9aRHP7PPcg2"
#define kAppKey          @"kyUQzudgfhADAtwEYqco56"
#define kAppSecret       @"VwUPKPKwlW5aPl17Eofws6"


// 如果AppStore 版本值为:AppStore.IOS1.0.2
// 如果企业版 版本值为:IOS1.0.2
// 企业版越过1.0.3
#define banBen           @"IOS1.0.4"

//================================================================
//================================================================


/********************************链接地址***********************************/

//#define BaseUrl @"http://m.lmboss.com"  //接口
//#define StaticUrl @"http://m.lmboss.com/AppGetway/AppToWeb.aspx?"    //html5

//#define BaseUrl @"http://m.ivpin.com"  //接口
//#define StaticUrl @"http://m.ivpin.com/AppGetway/AppToWeb.aspx?"    //html5

#define BaseUrl @"http://mtest.ivpin.com"  //接口
#define StaticUrl @"http://mtest.ivpin.com/AppGetway/AppToWeb.aspx?"    //html5

//#define BaseUrl @"http://192.168.1.22"  //接口
//#define StaticUrl @"http://192.168.1.22/AppGetway/AppToWeb.aspx?"    //html5


//#define BaseUrl @"http://192.168.1.27:8080"  //接口
//#define StaticUrl @"http://192.168.1.27:8080/AppGetway/AppToWeb.aspx?"    //html5
/*************************************************************************/
/*************************************************************************/

//#define ShoppingOrderBaseUrl @"http://mtest.ivpin.com/AppAutoLogin?"    //购物车的baseUrl
/** 懒猫超市*/
#define LazyMarket BaseUrl @"/LCat/Shop-%@?appname=lanmao&username=%@&x=%f&y=%f&sign2=%@"
/** 购物车*/
#define ShoppingCartUrl BaseUrl @"/LCat/ShopCart?appname=lanmao&username=%@&x=%f&y=%f&sign2=%@&shopuser=%@"
/** 找回密码*/
//#define FinePsw BaseUrl @"/UserCenter/RetrievePassword?appname=lanmao"
#define FinePsw BaseUrl @"/UserCenter/RetrievePassword?appname=lanmao"
/** 我的二维码  含有测试连接 */
#define MyCode BaseUrl @"/WPT-OpenAPI?control=LCatCommon&action=MakeLCatQRCode&data=" BaseUrl @"/LCat/PreRegister?sharedUser=%@"
/** 邀请好友*/
#define HelloFriend BaseUrl @"/LCat/PreRegister?plat=android&appname=lanmao&sharedUser=%@"
//#define MyCode  @"http://mtest.ivpin.com/WPT-OpenAPI?control=LCatCommon&action=MakeLCatQRCode&data=http://mtest.ivpin.com/LCat/PreRegister?sharedUser=%@"
/** 启动app */
//#define GetStarAppMessUrl  BaseUrl @"control=ShopCommon&action=CityID&cityid=610424"
#define GetStarAppMessUrl  BaseUrl @"/WPT-OpenAPI?control=ShopCommon&action=NearData&x=%f&y=%f&sign2=%@"
/** 获取验证码*/
#define GetCode BaseUrl @"/WPT-OpenAPI?control=MemberCommon&action=GetCode&username=%@&sign2=%@"
/** 注册*/
#define Register BaseUrl @"/WPT-OpenAPI?control=MemberCommon&action=Reg&username=%@&pwd=%@&pwd2=%@&code=%@&sign2=%@"
/** 获取一级城市*/
#define GetFirstCity BaseUrl @"/WPT-OpenAPI?control=CityCommon&action=AllCity&sign2=%@"
/** 根据ID获取二级城市*/
#define GetSecondCity BaseUrl @"/WPT-OpenAPI?control=CityCommon&action=CityID&cityid=%@&sign2=%@"
/** 根据CityID 获取社区数据*/
#define GetShopByCityID BaseUrl @"/WPT-OpenAPI?control=ShopCommon&action=CityID&cityid=%@&sign2=%@"
///** 登陆*/
//#define Login BaseUrl @"/WPT-OpenAPI?control=MemberCommon&action=Login&username=%@&pwd=%@&usertype=0&sign=%@&shopuser=%@"
/** 首页数据*/
#define GetHomeMessUrl BaseUrl @"/WPT-OpenAPI?control=LCatCommon&action=Index&shopuser=%@&x=%f&y=%f&username=%@&sign2=%@"
/** 产品搜索*/
#define SearchProduct BaseUrl @"/WPT-OpenAPI?control=ShopCommon&action=ProSearch&shopuser=%@&curr=%ld&key=%@&sign2=%@"
/** 上传头像*/
#define SendHeaderImg BaseUrl @"/WPT-OpenAPI?control=LCatBusiness&action=UpLoadAndUpdateShopLogo&username=%@&sign2=%@&terminal=%@&OSVersion=%@"
/** 用户修改信息*/
#define ModifyUserMess BaseUrl @"/WPT-OpenAPI?control=MemberCommon&action=SaveBase&username=%@&mobile=%@&realname=%@&email=%@&cardno=%@&sign2=%@"
/** 增加删除购物车  1(1添加 0删除)*/
#define ModifyShoppingCartCount BaseUrl @"/WPT-OpenAPI?control=LCatShop&action=upateShopCart&username=%@&shopuser=%@&productid=%@&type=%d&sign2=%@"
/** 版本更新*/
#define UpdateVersion BaseUrl @"/WPT-OpenAPI?control=LCatBusiness&action=Update&sign2=%@&Version=%@&plat=ios"
/** 版本更新*/
#define Updatestore BaseUrl @"/WPT-OpenAPI?control=LCatBusiness&action=Update&sign2=%@&Version=%@&plat=IOSstore"

/** 获取用户信息*/
#define GetUserMess BaseUrl @"/WPT-OpenAPI?action=GetUserInfo&control=MemberCommon&username=%@&sign2=%@"
/** 退出登陆*/
#define LoginOut BaseUrl @"/WPT-OpenAPI?action=SignOut&control=MemberCommon"
/**帮助中心*/
#define GetHelpUrl StaticUrl @"username=%@&action=help&appname=lanmao&x=%f&y=%f&sign2=%@"
/** 购物订单*/
#define ShoppingOrderUrl BaseUrl @"/AppAutoLogin?username=%@&action=LCatOrderList&appname=lanmao&x=%f&y=%f&sign2=%@"
/*爆款订单*/
#define BaoKuanShoppingOrderUrl BaseUrl @"/AppAutoLogin?username=%@&action=MyOrderList&appname=lanmao&x=%f&y=%f&sign2=%@"
/**旅游订单*/
//#define OtherOrder StaticUrl @"username=%@&action=mytriporderlist&appname=lanmao&x=%f&y=%f&sign=%@"
/** 常用信息*/
#define NormalMess StaticUrl @"username=%@&action=changyong&appname=lanmao&x=%f&y=%f&sign2=%@"
/** 系统公告*/
#define SystemMess StaticUrl @"action=noticecenter&username=%@&appname=lanmao&x=%f&y=%f&sign2=%@"
/** 我的钱包（APP）*/
#define MyIncomeInfo StaticUrl @"username=%@&action=myincomeinfo&appname=lanmao&x=%f&y=%f&sign2=%@"
/** 我的分享会员(APP)*/
#define MyShareUserList BaseUrl @"/AppAutoLogin?username=%@&action=myshareuserlist&appname=lanmao&x=%f&y=%f&sign2=%@"
/** 我的关注（目前没有）*/
#define MyFocusList StaticUrl @"username=%@&action=myguanzhu&appname=lanmao&x=%f&y=%f&sign2=%@"
/** 我的收藏*/
#define MyCollection BaseUrl @"/AppAutoLogin?username=%@&action=LCatCollection&appname=lanmao&x=%f&y=%f&sign2=%@"
/** 足迹（目前没有）*/
#define MyFootLine StaticUrl @"username=%@&action=myzuji&appname=lanmao&x=%f&y=%f&sign2=%@"
/** 关于我们*/
#define AboutUs BaseUrl @"/AppAutoLogin?username=%@&action=lcataboutus&sign2=%@"
/** 修改密码*/
#define ModifyPsw BaseUrl @"/AppAutoLogin?username=%@&action=ModifyPWD&sign2=%@"
//*********************************************************************商家版
//*********************************************************************商家版
//*********************************************************************商家版
//*********************************************************************商家版
/*商家版登录*/
#define businessLoginUrl BaseUrl @"/WPT-OpenAPI?control=LCatBusiness&action=Login&username=%@&password=%@&identity=%@"
/****商家版是什么*/
#define businessDetail BaseUrl @"/LCatBusiness/BusinessIntroduce"
/** 退出登陆*/
#define businessLoginOut BaseUrl @"/WPT-OpenAPI?action=SignOut&control=LCatBusiness&identity=%@&username=%@"
/** 首页过获取数据*/
#define indexUrl BaseUrl @"/WPT-OpenAPI?action=Index&control=LCatBusiness&Shopuser=%@&username=%@"
//消息列表
#define messageUrl BaseUrl @"/WPT-OpenAPI?Noticetype=%@&Username=%@&Pageindex=%@&Pagesize=%@&Keyword=%@&control=LCatBusiness&action=GetNoticeList"
// 修改店铺营业时间
#define  upTimeUrl BaseUrl @"/WPT-OpenAPI?action=UpdateShopOpeningTime&control=LCatBusiness&Username=%@&Openingstart=%@&Openingend=%@"
//修改配送费接口
#define  upPayMoneyUrl BaseUrl @"/WPT-OpenAPI?action=UpdateServerAmount&control=LCatBusiness&Username=%@&Minsentamount=%@&Serveramount=%@"
// 修改店铺信息数据接口
#define  upShopMessageUrl BaseUrl @"/WPT-OpenAPI?action=SetShopInfo&control=LCatBusiness&Username=%@&Shortintroduce=%@&Shopnote=%@&Contact=%@&Mobile=%@&Shopname=%@"
//订单列表
#define OrderUrl BaseUrl @"/WPT-OpenAPI?Pagesize=%@&Pageindex=%@&Supplieruser=%@&Orderstatus=%@&Control=LCatBusiness&Action=GetOrdersBySupplierUser&Keywords=%@"
//订单详情
#define detailOrderUrl BaseUrl @"/AppAutoLogin?action=OrderDetail&orderno=%@&username=%@&sign2=%@&appname=lanmao&plat=ios&hasfooter=NO"
//退货详情
#define detailTuiHuoUrl BaseUrl @"/AppAutoLogin?action=RefundOrderDetail&refundorderno=%@&username=%@&sign2=%@&appname=lanmao&plat=ios&hasfooter=NO"

//优惠券列表
#define YhqUrl BaseUrl @"/WPT-OpenAPI?Pagesize=%@&Pageindex=%@&Supplieruser=%@&Status=%@&Control=LCatBusiness&Action=GetCouponXList"
//订单发货
#define fahuoOrder BaseUrl @"/WPT-OpenAPI?Orderno=%@&Shopuser=%@&Control=LCatBusiness&Action=DeliverGoods"
//订单取消
#define quxiaoOrder BaseUrl @"/WPT-OpenAPI?Orderno=%@&Shopuser=%@&Control=LCatBusiness&Action=CancelOrder&remark=%@"
//延时发货
#define delayOrderUrl BaseUrl @"/WPT-OpenAPI?Orderno=%@&Shopuser=%@&Sendtime=%@&Sendtimerang=%@&Control=LCatBusiness&Action=DelaySendGoods&remark=%@"
//消息详情
#define detailMessage BaseUrl @"/AppAutoLogin?username=%@&plat=ios&id=%@&action=NoticeDetail&sign2=%@&appname=lanmao"
//我的页面银行卡
#define myBankCardsURL BaseUrl @"/AppAutoLogin?username=%@&action=BankCards&appname=lanmao&plat=ios&sign2=%@"
/** 我的二维码  含有测试连接 */
#define BussinessMyCode BaseUrl @"/WPT-OpenAPI?control=LCatBusiness&action=MakeLCatQRCode&data=" BaseUrl @"/LCat/PreRegister?sharedUser=%@&appname=lanmao&plat=ios"
/** 关于我们商家版*/
#define businessAboutUs BaseUrl @"/AppAutoLogin?username=%@&action=LCatBusinessAboutUS&sign2=%@&appname=lanmao&plat=ios"
//保存优惠券
#define saveYHQUrl BaseUrl @"/WPT-OpenAPI?action=EditCouponxpostrecord&Control=LCatBusiness&Couponxpostrecordid=%@&Title=%@&Amount=%@&Startdate=%@&Expiredate=%@&Min=%@&numtotal=%@"
//新增优惠券
#define newSaveYHQUrl BaseUrl @"/WPT-OpenAPI?action=AddCouponxpostrecord&Control=LCatBusiness&Supplieruser=%@&Title=%@&Amount=%@&Startdate=%@&Expiredate=%@&Min=%@&numtotal=%@"
//失效优惠券
#define noSaveYHQUrl BaseUrl @"/WPT-OpenAPI?action=ChangeActivedStatus&Control=LCatBusiness&couponxpostrecordid=%@&isactived=%@"
/** 退货管理*/
#define tuiHuoMUrl BaseUrl @"/WPT-OpenAPI?Pagesize=%@&Pageindex=%@&Shopuser=%@&Status=%@&Control=LCatBusiness&Action=GetRefundOrders"
/** 退货操作*/
#define tuiHuoBtnUrl BaseUrl @"/WPT-OpenAPI?Dealtstatus=%@&Dealtuser=%@&Refundamount=%@&Refundorder=%@&remark=%@&Control=LCatBusiness&Action=DealtRefundOrder"
/** 退货计算退货金额*/
#define refundAmountUrl BaseUrl @"/WPT-OpenAPI?Refundorderno=%@&Control=LCatBusiness&Action=CalcaluteRefundAmount"

/******获取商品分类*******/
#define classifyUrl BaseUrl @"/WPT-OpenAPI?Shopuser=%@&Control=LCatBusiness&Action=GetCategory"
/******编辑商品分类*******/
#define editClassifyUrl BaseUrl @"/WPT-OpenAPI?Categoryid=%@&Name=%@&Sort=%@&Parentcategoryid=%@&Isactived=%@&Control=LCatBusiness&Action=EditCategory"
/******删除商品分类*******/
#define delateClassifyUrl BaseUrl @"/WPT-OpenAPI?Id=%@&Control=LCatBusiness&Action=DeleteCategory"
/******新增商品分类*******/
#define addClassifyUrl BaseUrl @"/WPT-OpenAPI?Name=%@&Sort=%@&Parentcategoryid=%@&Isactived=%@&Productuser=%@&Control=LCatBusiness&Action=AddCategory"
/** 产品管理列表*/
#define productManagerUrl BaseUrl @"/WPT-OpenAPI?Pagesize=%@&Pageindex=%@&Shopuser=%@&Categoryid=%@&Ispublic=%@&Control=LCatBusiness&Action=GetProducts"
/** 懒猫上下架产品 上1下0*/
#define shangXiaJiaProduct BaseUrl @"/WPT-OpenAPI?Userproductid=%@&Ispublish=%@&Control=LCatBusiness&Action=DoPublish"
/** 产品管理设为推荐*/
#define isRecommend BaseUrl @"/WPT-OpenAPI?Userproductid=%@&Ishot=%@&Control=LCatBusiness&Action=SetHot"
/** 编辑产品信息（编辑成本价，售价）*/
#define editProductUrl BaseUrl @"/WPT-OpenAPI?Id=%@&costprice=%@&Saleprice=%@&Control=LCatBusiness&Action=UpdateProduct"

/** 懒猫掌柜获取账户信息数据接口*/
#define ScoreInfotUrl BaseUrl @"/WPT-OpenAPI?&Control=LCatBusiness&Action=ScoreInfo&Username=%@"

/** 提现接口*/
#define TixiantUrl BaseUrl @"/AppAutoLogin?username=%@&action=yetixian&sign2=%@&appname=lanmao&plat=ios&terminal=%@&OSVersion=%@"

/** 充值接口*/
#define ChongzhiUrl BaseUrl @"/AppAutoLogin?username=%@&action=chongzhi&sign2=%@&appname=lanmao&plat=ios&terminal=%@&OSVersion=%@"

/** 积分明细*/
#define JifenMingXiUrl BaseUrl @"/AppAutoLogin?username=%@&action=creditorderlistfenxiang&sign2=%@&appname=lanmao&plat=ios&terminal=%@&OSVersion=%@"

/** 资金明细*/
#define ZiJinMingXiUrl BaseUrl @"/AppAutoLogin?username=%@&action=CapitalList&sign2=%@&appname=lanmao&plat=ios&terminal=%@&OSVersion=%@"


/** 我的银行卡*/
#define MyboundCarUrl BaseUrl @"/AppAutoLogin?username=%@&action=bindbandcard&sign2=%@&appname=lanmao&plat=ios&terminal=%@&OSVersion=%@"
/**客户管理*****/
#define serverManagerUrl  BaseUrl @"/AppAutoLogin?username=%@&sign2=%@&action=CustomerList&terminal=%@&OSVersion=%@&plat=ios"

/**快递管理*****/
#define KDManagerUrl  BaseUrl @"/AppAutoLogin?username=%@&sign2=%@&action=expresslist&terminal=%@&OSVersion=%@&plat=ios"
 

/****客户搜索*/
#define serverSearchUrl  BaseUrl @"/AppAutoLogin?username=%@&sign2=%@&action=CustomerSearch&terminal=%@&OSVersion=%@&keyword=%@&plat=ios"
/*****快递搜索*****/
#define expressSearchUrl  BaseUrl @"/AppAutoLogin?username=%@&sign2=%@&action=expressList&terminal=%@&OSVersion=%@&keyword=%@&plat=ios"

/***通过订单号获取订单数据**/
#define orderDetailUrl  BaseUrl @"/WPT-OpenAPI?Control=LCatBusiness&Action=OrderDetail&orderno=%@"

/** 快递服务列表*/
#define expressServiceUrl BaseUrl @"/WPT-OpenAPI?Pagesize=%@&Pageindex=%@&username=%@&state=%@&Control=LCatBusiness&Action=GetExpressList"

//#define expressServiceUrl BaseUrl @"/WPT-OpenAPI?Pagesize=%@&Pageindex=%@&Shopuser=%@&Categoryid=%@&Ispublic=%@&Control=LCatBusiness&Action=GetProducts"
/*****分类详情保存按钮******/
#define saveProductUrl BaseUrl @"/WPT-OpenAPI?categoryid=%@&id=%@&Control=LCatBusiness&Action=UpdateProductCategory"
/****数据统计****/
#define dataStatisticsUrl  BaseUrl @"/AppAutoLogin?username=%@&sign2=%@&action=Statistics&terminal=%@&OSVersion=%@&plat=ios"

/****编辑库存****/
#define EditKuCunUrl BaseUrl @"/WPT-OpenAPI?id=%@&numtotalstock=%@&Control=LCatBusiness&Action=UpdataProductStock"

// 账号说明
#define caiwuExplianurl BaseUrl @"/LCatBusiness/FinanceIntroductions?appname=lanmao&plat=ios"


/*************************************************///懒掌柜接口地址



















#endif
